package com.freewater.springboot.demo.publishevents;

import lombok.Getter;

import java.time.LocalDateTime;

@Getter
public class OrderPlacedEvent {

    private final LocalDateTime eventAt;

    private final String orderId;

    public OrderPlacedEvent(LocalDateTime eventAt, String orderId) {
        this.eventAt = eventAt;
        this.orderId = orderId;
    }
}
